using System;
using System.Drawing;
using Clandestine.Graphics;

namespace Clandestine.Engines.Field
{
	public struct Tile
	{
		public Spritesheet Spritesheet;
		public int TileNumber;
		/*public Bitmap Bitmap
		{
			get { return Spritesheet.GetTileBitmap(TileNumber); } 
		}*/
		public Texture Texture
		{
			get { return Spritesheet.GetTileTexture(TileNumber); }
		}
		public string Identifier
		{	
			get { return Spritesheet.GetTileIdentifier(TileNumber); } 
		}
		
		public Tile(Spritesheet spritesheet, int tileNumber)
		{
			this.Spritesheet = spritesheet;
			this.TileNumber = tileNumber;
		}
	}
}

